<?php
class Application_Form_Main extends Zend_Form
{
	public function init()
	{
		$this->setName("MainPage");
		
		$logout = new Zend_Form_Element_Button("logoutButton");
		//$logout->setLabel("Logout");
		$logout->setAttrib("onClick", "window.location='logout'");
		$logout->setAttrib("class", "login-inp");
		
		$edit = new Zend_Form_Element_Button("editButton");
		//$edit->setLabel("Edit");
		$edit->setAttrib("onClick", "window.location='edit'");
		$this->addElements(array($logout,$edit));
	}
}